/*
 * @Author: NaturalHulk 2066634567@qq.com
 * @Date: 2024-10-08 09:31:44
 * @LastEditors: NaturalHulk 2066634567@qq.com
 * @LastEditTime: 2024-11-08 16:56:37
 * @FilePath: /xhs-mom-new/src/api/warehouse/inside/barcodePrinting.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
// 条码打印列表
export function GetListAPI(params) {
  return request({
    url: '/storage/pickingBarPrint/list',
    method: 'GET',
    params
  })
}

// 打印详情 来料打印
export function GetStorageDetailAPI(params) {
  return request({
    url: '/storage/pickingBarPrint/getMaterialNumber',
    method: 'GET',
    params
  })
}

//通过物料编码查询信息-如入库单，供应商...
export function getPrintDocumentAPI(params) {
  return request({
    url: '/storage/wip-completion/getPrintDocument',
    method: 'GET',
    params
  })
}

// 打印
export function PrintAPI(data) {
  return request({
    url: '/storage/pickingBarPrint/print',
    method: 'POST',
    data
  })
}
